package com.example.Windturbine.Service;

import com.example.Windturbine.DataObject.ProductUseDO;
import com.example.Windturbine.Error.BusinessException;

import java.util.List;

/**
 * @Author 丁永新
 * @Date 2021/12/21
 */
public interface ProductCalService {
    boolean submit(ProductUseDO productUseDO) throws BusinessException;

    List<ProductUseDO> getAll(Integer id) throws BusinessException;

    void deleteById(Integer id) throws BusinessException;
}
